<template>
  <div class="talent-training-page">
    <h1>人才培养</h1>
    
    <div class="training-content-grid">
      <!-- 第一行的三个DIV块 -->
      <div class="training-block">
        <h3>培养方案</h3>
        <p>待完善</p>
      </div>
      
      <div class="training-block">
        <h3>课程体系</h3>
        <p>待完善。</p>
      </div>
      
      <div class="training-block">
        <h3>实践教学</h3>
        <p>待完善。</p>
      </div>
      
      <!-- 后续可以在这里继续添加更多DIV块，每行将自动排列三个 -->
             <div class="training-block">
        <h3><router-link to="/learningPlan" class="dropdown-item">学习计划</router-link></h3>
        <p>制定科学的学习计划，引导学生独立学习和完成项目。待完善</p>
      </div>
      
      <div class="training-block">
        <h3><router-link to="/abilityExam" class="dropdown-item">能力测试</router-link></h3>
        <p>待完善。</p>
      </div>
      
      <div class="training-block">
        <h3><router-link to="/certificateExams" class="dropdown-item">证书考试</router-link></h3>
        <p>待完善。</p>
      </div>
    </div>
  </div>
</template>

<style scoped>
.talent-training-page {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.talent-training-page h1 {
  text-align: center;
  margin-bottom: 30px;
  color: #333;
  font-size: 28px;
}

.training-content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.training-block {
  background-color: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s, transform 0.3s;
  min-height: 200px;
}

.training-block:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.training-block h3 {
  margin-top: 0;
  margin-bottom: 12px;
  color: #1890ff;
  font-size: 18px;
}

.training-block p {
  margin: 0;
  color: #666;
  line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .training-content-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .training-content-grid {
    grid-template-columns: 1fr;
  }
}
</style>